package bean;

import java.util.Map;
import java.util.Set;

/**
 * The common interface for all BAI file templates, the main elements contained in a BAI file templates are attributes name-value pair, content
 * @author xijiang
 * 
 */
public interface ITemplate {
	
	public void registerAttribute(String attrName);
	public void setAttribute(String attrName, String attrVal);
	public void unregisterAttribute(String attrName);
	public String getAttributeValue(String attrName);
	public void setContent(String content);
	public String getContent();
	public void setType(String type);
	public String getType();
	public Set<String> getAttrNameSet();
	public Map<String, String> getAttributeMap();

}
